package 装饰模式;

/**
 * 手机装饰类，抽象
 */
public abstract class PhoneDecorator implements Phone{
    protected Phone phone;//组合了一个准备要升级的手机
    public PhoneDecorator(Phone phone) {
        this.phone = phone;
    }
    public abstract void call();
}
